package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 LogInfo
 * 
 * @author wxd
 * @date 2024-08-01
 */
@Data
public class LogInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String deviceId;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备型号")
    @Excel(name = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "所属单位ID")
    private Long deptId;

    @ApiModelProperty(value = "所属单位")
    @Excel(name = "所属单位")
    private String deptName;

    @ApiModelProperty(value = "日志类型")
    @Excel(name = "日志类型")
    private String type;

    @ApiModelProperty(value = "操作员")
    @Excel(name = "操作员")
    private String userName;

    @ApiModelProperty(value = "日志路径")
    @Excel(name = "日志路径")
    private String logPath;

    @ApiModelProperty(value = "日志时间")
    @Excel(name = "日志时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date logTime;
}
